.card {
  position: relative;

  height: 52rem;

  perspective: 150rem;
  -moz-perspective: 150rem;

  &__side {
    overflow: hidden;

    position: absolute;
    top: 0;
    left: 0;

    border-radius: 3px;
    width: 100%;
    height: 52rem;

    box-shadow: 0 1.5rem 4rem rgba($color-black, 0.15);

    transition: all 0.8s ease;

    backface-visibility: hidden;

    &--front {
      background-color: $color-white;
    }
    &--back {
      transform: rotateY(180deg);

      &-1 {
        background-image: linear-gradient(
          to right bottom,
          $color-secondary-light,
          $color-secondary-dark
        );
      }
      &-2 {
        background-image: linear-gradient(
          to right bottom,
          $color-primary-light,
          $color-primary-dark
        );
      }
      &-3 {
        background-image: linear-gradient(
          to right bottom,
          $color-tertiary-light,
          $color-tertiary-dark
        );
      }
    }
  }

  &:hover &__side--front {
    transform: rotateY(180deg);
  }
  &:hover &__side--back {
    transform: rotateY(0);
  }

  // FRONT SIDE STYLING
  &__picture {
    // border-top-left-radius: 3px;
    // border-top-right-radius: 3px;
    height: 23rem;

    background-size: cover;

    background-blend-mode: screen;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);

    &--1 {
      background-image: linear-gradient(
          to right bottom,
          rgba($color-secondary-light, 0.85),
          rgba($color-secondary-dark, 0.85)
        ),
        url(../img/nat-5.jpg);
    }
    &--2 {
      background-image: linear-gradient(
          to right bottom,
          rgba($color-primary-light, 0.85),
          rgba($color-primary-dark, 0.85)
        ),
        url(../img/nat-6.jpg);
    }
    &--3 {
      background-image: linear-gradient(
          to right bottom,
          rgba($color-tertiary-light, 0.85),
          rgba($color-tertiary-dark, 0.85)
        ),
        url(../img/nat-7.jpg);
    }
  }
  &__heading {
    position: absolute;
    top: 12rem;
    right: 2rem;

    width: 75%;

    font-size: 2.8rem;
    font-weight: 300;
    text-align: right;
    text-transform: uppercase;

    color: $color-white;
  }
  &__heading-span {
    padding: 1rem 1.5rem;

    -webikit-box-decoration-break: clone;
    box-decoration-break: clone;
    &--1 {
      background-image: linear-gradient(
        to right bottom,
        $color-secondary-light,
        $color-secondary-dark
      );
    }
    &--2 {
      background-image: linear-gradient(
        to right bottom,
        $color-primary-light,
        $color-primary-dark
      );
    }
    &--3 {
      background-image: linear-gradient(
        to right bottom,
        $color-tertiary-light,
        $color-tertiary-dark
      );
    }
  }
  &__details {
    padding: 3rem;
    ul {
      list-style: none;

      margin: 0 auto;
      width: 80%;
      li {
        padding: 1rem;

        font-size: 1.5rem;
        text-align: center;

        &:not(:last-child) {
          border-bottom: 1px solid $color-grey-light-2;
        }
      }
    }
  }
  &__cta {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 90%;

    text-align: center;

    transform: translate(-50%, -50%);
  }
  &__price-box {
    margin-bottom: 8rem;

    text-align: center;

    color: $color-white;
  }
  &__price-only {
    font-size: 1.4rem;
    text-transform: uppercase;
  }
  &__price-value {
    font-size: 6rem;
    font-weight: 100;
  }

  // @include respond(tab-port) {
  @media only screen and (max-width: 56.25em), only screen and (hover: none) {
    height: auto;
    border-radius: 3px;
    background-color: $color-white;
    box-shadow: 0 1.5rem 4rem rgba($color-black, 0.15);
    &__side {
      position: relative;

      height: auto;
      box-shadow: none;

      &--back {
        transform: rotateY(0);
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
      }
    }

    &:hover &__side--front {
      transform: rotateY(0);
    }

    &__details {
      padding: 1rem 3rem;
    }

    &__cta {
      position: relative;
      top: 0;
      left: 0;

      width: 100%;
      text-align: center;
      transform: translate(0);
      padding: 7rem 4rem 4rem;
    }
    &__price-box {
      margin-bottom: 3rem;
    }

    &__price-value {
      font-size: 4rem;
    }
  }
}
